function xiangMuSPManage() {
	var xiangMuID = document.getElementById("xiangMuID").value;
	var updateIframe = document.getElementById("updateIframe");
	var update = document.getElementById("update");
	updateIframe.src="listXiangMuSP?GongChengXMID=" + xiangMuID + "&pageSize=3&pageNum=1";
	update.style.display = "block";
	//window.location.hash="#anchor";
	document.getElementById("xiangMuContent").style.display = "none";
}

function canJianQYManage() {
	var xiangMuID = document.getElementById("xiangMuID").value;
	var updateIframe = document.getElementById("updateIframe");
	var update = document.getElementById("update");
	updateIframe.src="listCanJianQY?GongChengXMID=" + xiangMuID + "&pageSize=3&pageNum=1";
	update.style.display = "block";
	//window.location.hash="#anchor";
	document.getElementById("xiangMuContent").style.display = "none";
	/*
	var xmlhttp = createXmlHttp();
	xmlhttp.onreadystatechange = function() {
		if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
			document.getElementById("update").innerHTML = xmlhttp.responseText;
		}
	}
	xmlhttp.open("post", "listCanJianQY" , true);
	xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	xmlhttp.send("GongChengXMID=" + xiangMuID);
	*/
}

function zhengDiCQManage() {
	var xiangMuID = document.getElementById("xiangMuID").value;
	var updateIframe = document.getElementById("updateIframe");
	var update = document.getElementById("update");
	updateIframe.src="listZhengDiCQ?GongChengXMID=" + xiangMuID + "&pageSize=3&pageNum=1";
	update.style.display = "block";
	//window.location.hash="#anchor";
	document.getElementById("xiangMuContent").style.display = "none";
}

function zhongDaSJBGManage() {
	var xiangMuID = document.getElementById("xiangMuID").value;
	var updateIframe = document.getElementById("updateIframe");
	var update = document.getElementById("update");
	updateIframe.src="listZhongDaSJBG?GongChengXMID=" + xiangMuID + "&pageSize=3&pageNum=1";
	update.style.display = "block";
	//window.location.hash="#anchor";
	document.getElementById("xiangMuContent").style.display = "none";
}

function biaoDuanManage() {
	var xiangMuID = document.getElementById("xiangMuID").value;
	var updateIframe = document.getElementById("updateIframe");
	var update = document.getElementById("update");
	updateIframe.src="listBiaoDuan?GongChengXMID=" + xiangMuID + "&pageSize=3&pageNum=1";
	update.style.display = "block";
	//window.location.hash="#anchor";
	document.getElementById("xiangMuContent").style.display = "none";
}

function returnGongCheng() {
	var update = document.getElementById("update");
	update.style.display = "none";
	document.getElementById("xiangMuContent").style.display="block";
	//window.location.hash="#";
}
function createXmlHttp() {
	var xmlhttp = false;
	if (window.XMLHttpRequest) {
		xmlhttp = new XMLHttpRequest();
	} else {
		var xmlhttp = new ActiveXObject("Mircrosoft.XMLHTTP");
	}
	return xmlhttp;
}